<%--
  Created by IntelliJ IDEA.
  User: SYX
  Date: 2020/12/8
  Time: 10:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%--JSTL--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>showStus</title>
    <script src="webjars/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="webjars/bootstrap/3.3.7/css/bootstrap.min.css" />
    <link rel="stylesheet" href="webjars/bootstrap/3.3.7/css/bootstrap-theme.min.css" />
</head>
<body>
    <table id="table_id_example" class="table table-striped table-bordered table-condensed">
        <tr>
            <th>开课ID</th>
            <th>教师ID</th>
            <th>课程ID</th>
            <th>开课名</th>
            <th>学生人数</th>
        </tr>

        <%--循环显示学生--%>
        <c:forEach items="${courseSetups}" var="courseSetup">
            <tr>
                <td>${courseSetup.setup_id}</td>
                <td>${courseSetup.setup_teacherid}</td>
                <td>${courseSetup.setup_courseid}</td>
                <td>${courseSetup.setup_name}</td>
                <td>${courseSetup.setup_count}</td>
            </tr>
        </c:forEach>
    </table>

</body>
</html>
